﻿using System;

namespace YouTubeDownloadExtension
{
    public enum VideoFormat
    {
        None,
        [FileExtension("3gp")]
        Mobile,
        [FileExtension("flv")]
        Flash,
        [FileExtension("webm")]
        WebM,
        [FileExtension("mp4")]
        MP4
    }

    [AttributeUsage(AttributeTargets.Field)]
    internal sealed class FileExtensionAttribute : Attribute
    {
        public string Suffix { get; private set; }

        public FileExtensionAttribute(string suffix)
        {
            Suffix = suffix;
        }
    }
}
